/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package scm.message;

/**
 *
 * @author Herlan
 */
public class Cabecera {
    private MailUser sender;
    private MailUser destinatario;

    public Cabecera(MailUser sender, MailUser destinatario){
        this.sender = sender;
        this.destinatario = destinatario;
    }

    public MailUser obtenerSender(){
        return sender;
    }
    public MailUser obtenerDestinatario(){
        return destinatario;
    }

    public String toString(){
        return "Sender:" + sender.toString() + "; Destinatario:" + destinatario.toString();
    }
}
